<?php

/*

Process Pet Desc (pet_desc.pro.php)

*/
ob_start();
$rank_check = 1;
include "header.inc.php";

$check = check_length($note,10000);
if ($check == 0)
{
	die(header(error("pet_desc.php?game=$game&id=$id","Your pet's description can only be 10000 characters.")));
}

$note = smilies(badwords(strip_tags($edit_desc,"<b><i><u><a><font><img><p><br><body><background>")));

mysql_query("UPDATE user_pets2 SET pet_desc = '$note' WHERE owner = '$userid' AND id = '$id' AND game = '$game'");

header(error("pet_desc.php?game=$game&id=$id","Your pet desc has been updated."));

?>